<table class="wikiRevisions">
	<tr>
		<th>Date/Time</th>
		<th>User</th>
		<th>Comment</th>
	</tr>
	<?php foreach($revisions as $i => $rev): ?>
		<tr class="<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
			<td class="revLink">
				<?php echo link_to($rev->getCreatedAt(), '@wiki_show_rev?pr_slug='.$wikiPage->getPRSlug().'&name='.$wikiPage->getName().'&id='.$rev->getID()); ?>
			</td>
			<td class="revUser">
				<?php echo $rev->getUser(); ?>
			</td>
			<td class="revComment">
				<?php
					$comment = $rev->getComment();
					
					if ($comment == '')
						$comment = '<i>No comment</i>';
					
					echo $comment;
				?>
			</td>
		</tr>
	<?php endforeach; ?>
</table>
